package com.zzxy.spring34.po;

import java.util.*;

public class Student {
    private String name;
    private String no;
    private Integer age;
    private Address address;

    /*List Set Array Map Properties*/
    private Set<String> cars;

    private Map<String,String> infos;

    private Properties properties;

    private String[] members;

    public String[] getMembers() {
        return members;
    }

    public void setMembers(String[] members) {
        this.members = members;
    }

    public Properties getProperties() {
        return properties;
    }

    public void setProperties(Properties properties) {
        this.properties = properties;
    }

    @Override
    public String toString(){
        return "Student{"+
                "name='"+name+'\''+
                "age+"+age+
                ",address="+address+
                ",cars="+cars+
                ",infos="+infos+
                ",properties="+properties+
                ",members="+Arrays.toString(members)+
                '}';
    }

    public Map<String, String> getInfos() {
        return infos;
    }

    public void setInfos(Map<String, String> infos) {
        this.infos = infos;
    }

    public Set<String> getCars() {
        return cars;
    }

    public void setCars(Set<String> cars) {
        this.cars = cars;
    }

    public Address getAddress() {
        return address;
    }

    public void setAddress(Address address) {
        this.address = address;
    }

    public Student(String name,String no){
        this.name=name;
        this.no=no;
    }
    public Student(String name,Integer age){
        this.name=name;
        this.age=age;
    }
    public Student(String name,Integer age,String no){
        this.name=name;
        this.age=age;
        this.no=no;
    }
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getNo() {
        return no;
    }

    public void setNo(String no) {
        this.no = no;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public Student() {

    }
}
